﻿using SqlSugar;
using SYSoft.Model.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace SYSoft.Model.Models.SystemManage
{
    [SugarTable("t_userrole")]
    public class sys_UserRole 
    {
        [SugarColumn(IsNullable = false, IsPrimaryKey = true)]
        public int Id { get; set; }

        public int UserId { get; set; }


        public int RoleId { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateOn { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public virtual DateTime UpdateOn { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建者
        /// </summary>
        public virtual int CreateBy { get; set; }
    }



}
